import { Routes } from '@angular/router';

import { CzmComponent } from './czm/czm.component';
import { HomeComponent } from './home/home.component';
import { OrganizationComponent } from './organization/organization.component';
import { PostmanagementComponent } from './postmanagement/postmanagement.component';
import { PersonneladminComponent } from './personneladmin/personneladmin.component';
import { PostmanagementShareComponent } from './postmanagementshare/postmanagementshare.component';
import { PostmanagementAddComponent } from './postmanagementadd/postmanagementadd.component';



export const CompanyInfoRoutes: Routes = [
    {
        path: '',
        redirectTo: 'index',
        pathMatch:'full'
    },
    {
        path: 'index',
        component: CzmComponent
    },
    {
        path: 'next',
        component: HomeComponent
    },
    {
        path: 'organization',
        component: OrganizationComponent,
    },
    {
        path: 'postmangement',
        component: PostmanagementComponent
    },
    {
        path: 'personneladmin',
        component: PersonneladminComponent
    },
    {
        path: 'postmanagementshare',
        component: PostmanagementShareComponent
    },
    {
        path: 'postmanagementadd',
        component: PostmanagementAddComponent
    }
];